Repository navigation
刻蚀纸面质感推广到全应用图标按钮与侧边栏 - #311
Merged
Merged
Conversation
- Theme 新增 WeiBeiEtchedBackdrop 纹理原语:任意形状上的 底色+顶部内反光+底部内阴影+发丝框(+可选贴地投影), 不可见时零渲染 - WeiBeiIconButtonStyle 中性态(悬停/激活/按压)全应用 21 处 调用统一走该原语;.primary 实心朱砂填充不受影响 - 侧边栏:搜索框换 weibeiInputSurface 同款刻蚀;加号按钮、 课程行悬停/展开、行尾进入小圆、分组头小加号、资料/笔记行 悬停/选中全部接入同一纹理语言
taekchef
marked this pull request as ready for review
August 22, 2026 05:40
This was referenced Aug 22, 2026
Merged
wang-kaopu
pushed a commit
to wang-kaopu/weibei
that referenced
this pull request
Aug 23, 2026
固定 100ms 睡眠在满载 CI runner 上会被 20ms 空闲计时器超出 主线程调度窗口,今天三次假失败(WroughtMind#287/WroughtMind#306/WroughtMind#311)。改为最长 2s 的 10ms 轮询:正常路径仍在一个空闲延迟内返回,只有真实失败才 等满时限;断言语义(恰好一条、最小修订 2)不变。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
实际改动(方案四批一次做完,均为材质层,不动布局/尺寸/行为/配色角色)
Theme.swift新增WeiBeiEtchedBackdrop纹理原语:任意 InsettableShape 上的 底色 + 顶部内反光(渐变) + 底部内阴影线 + 发丝外框 + 可选贴地投影;不可见状态零渲染。浅色反光 0.34/深色 0.20,底部内线 0.52/0.50。Theme.swiftWeiBeiIconButtonStyle中性态改造(用户拍板:全应用同步):悬停/激活/按压背景统一走纹理原语并带贴地投影;.primary(发送按钮实心朱砂)路径不变。全应用 21 处调用一致受益。SidebarView.swift:weibeiInputSurface同款刻蚀输入面(与顶栏搜索/命令面板统一,含聚焦描边与动画);未做内容
共享核心文件占用
SidebarView.swift、Theme.swift均非冻结文件。验证
swift build通过。轻量冒烟